package org.csu.mypetstore.api.service;

import org.csu.mypetstore.api.common.CommonResponse;
import org.csu.mypetstore.api.entity.LongCart;
import org.csu.mypetstore.api.vo.AccountVO;
import org.csu.mypetstore.api.vo.ItemVO;
import org.csu.mypetstore.api.vo.LongCartVO;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface LongCartService {
    CommonResponse<LongCartVO> getLongCart(String username);

    CommonResponse<ItemVO> getProductInLongCart(String ItemId);

    CommonResponse<LongCartVO> insertItemtoLongCart(String username, String itemId);

    CommonResponse<LongCartVO> deleteItemInLongCart(String username, String itemId);
}
